﻿<%@ Page Title="Resource Summary &raquo; ResourceBlender.NET" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ResourceSummary.aspx.cs" Inherits="ResourceSummary" EnableEventValidation="false" %>
<%@ MasterType VirtualPath="~/MasterPage.master" %>

<asp:Content ID="contentHead" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="contentMain" ContentPlaceHolderID="cntMain" Runat="Server">
    <h1>Resource Summary</h1>
    <asp:MultiView ID="mltMain" runat="server" ActiveViewIndex="0">
        <asp:View ID="viwNoApps" runat="server">
            <h1><asp:Literal ID="litManageResourcesHeading" runat="server" Text="Resource Completion"></asp:Literal></h1>
            <p>You must <asp:HyperLink ID="lnkAddApplication" runat="server" Text="add an application" NavigateUrl="~/Applications.aspx">add an application</asp:HyperLink> in order to show a resource completion report.</p>
        </asp:View>
        <asp:View ID="viwSelectApplication" runat="server">
            <div class="breadcrumbs">
                <asp:HyperLink ID="lnkNavHome" runat="server" NavigateUrl="~/Default.aspx">ResourceBlender.NET</asp:HyperLink> &gt; <asp:HyperLink ID="lnkNavResources" runat="server" NavigateUrl="~/Resources.aspx">Resources</asp:HyperLink> &gt; Resource Summary
            </div>
            <p><asp:Literal ID="litPageDescription" runat="server" Text="Show statistics like the translation completion of each language used by an application."></asp:Literal></p>
            <div class="niceform">
                <label class="block">Application</label>
                <asp:CheckBoxList ID="chlApplication" runat="server"
                    CssClass="checks applicationChecks plain" RepeatLayout="Flow">
                </asp:CheckBoxList>
                <asp:Label ID="lblNothingSelected" runat="server" CssClass="block error" Text="At least one application must be selected"></asp:Label>
                <div class="actions">
                    <asp:Button ID="btnShowSummary" runat="server" Text="Show Resource Summary" 
                        OnClick="btnShowSummary_Click" CssClass="uniformbutton doublewidth btnGo" />
                </div>
            </div>
        </asp:View>
        <asp:View ID="viwShowSummary" runat="server">
            <div class="breadcrumbs">
                <asp:HyperLink ID="lnkNavHomeSummary" runat="server" NavigateUrl="~/Default.aspx">ResourceBlender.NET</asp:HyperLink> &gt; <asp:HyperLink ID="lnkNavResourcesSummary" runat="server" NavigateUrl="~/Resources.aspx">Resources</asp:HyperLink> &gt; Resource Summary
            </div>
            <asp:Panel ID="pnlError" runat="server" CssClass="errorDiv">
                <h2>Error</h2>
                <asp:BulletedList ID="lstErrors" runat="server">
                </asp:BulletedList>
            </asp:Panel>
            <asp:PlaceHolder ID="plcDynamic" runat="server"></asp:PlaceHolder>
        </asp:View>
    </asp:MultiView>
</asp:Content>

